package win.demonlegion.common;

public enum HttpCode {
    SUCCESS(1, "请求成功"),
    FAIL(-1, "请求失败");

    private final int value;
    private final String message;

    public int getValue() {
        return value;
    }

    public String getMessage() {
        return message;
    }

    HttpCode(int value, String message) {
        this.value = value;
        this.message = message;
    }
}
